<%-- 
    Document   : gerenciarGenero
    Created on : 01/09/2011, 14:18:00
    Author     : aluno
--%>

<%@page import="entidades.Usuario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>        
        <link rel="stylesheet" href="css/login.css" type="text/css" title="default" />
        <script src="js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script>

        <!--  checkbox styling script -->
        <script src="js/jquery/ui.core.js" type="text/javascript"></script>
        <script src="js/jquery/ui.checkbox.js" type="text/javascript"></script>
        <script src="js/jquery/jquery.bind.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function(){
                $('input').checkBox();
                $('#toggle-all').click(function(){
                    $('#toggle-all').toggleClass('toggle-checked');
                    $('#mainform input[type=checkbox]').checkBox('toggle');
                    return false;
                });
            });
        </script> 
    </head>
    <%Usuario user = (Usuario) request.getSession().getAttribute("usuario");


        if (user == null || !user.isContaConfirmada()) {
            response.sendRedirect("login.jsp");
        }
    %>
    <body>
 

        <div id="page-top-outer">   
            <div id="page-top">
                <div id="logo">

                </div>

            </div>
        </div>
        <div class="clear">&nbsp;</div>

        <!--  start nav-outer-repeat................................................................................................. START -->
        <div class="nav-outer-repeat"> 
            <!--  start nav-outer -->
            <div class="nav-outer"> 

                <!-- start nav-right -->
                <div id="nav-right">

                    <div class="nav-divider">&nbsp;</div>
                    <div class="showhide-account"><img src="images/shared/nav/nav_myaccount.gif" width="93" height="14" alt="" /></div>
                    <div class="nav-divider">&nbsp;</div>
                    <a href="Servlet_login?op=1" id="logout"><img src="images/shared/nav/nav_logout.gif" width="64" height="14" alt="" /></a>
                    <div class="clear">&nbsp;</div>

                    <!--  start account-content -->	
                    <div class="account-content">
                        <div class="account-drop-inner">
                            <a href="" id="acc-settings">Settings</a>
                            <div class="clear">&nbsp;</div>
                            <div class="acc-line">&nbsp;</div>
                            <a href="" id="acc-details">Personal details </a>
                            <div class="clear">&nbsp;</div>
                            <div class="acc-line">&nbsp;</div>
                            <a href="" id="acc-project">Project details</a>
                            <div class="clear">&nbsp;</div>
                            <div class="acc-line">&nbsp;</div>
                            <a href="" id="acc-inbox">Inbox</a>
                            <div class="clear">&nbsp;</div>
                            <div class="acc-line">&nbsp;</div>
                            <a href="" id="acc-stats">Statistics</a> 
                        </div>
                    </div>
                    <!--  end account-content -->

                </div>
                <!-- end nav-right -->


                <!--  start nav -->
                <div class="nav">
                    <div class="table">

                        <ul class="select"><li><a href="UsuarioSuper.jsp"><b>Pagina Principal</b><!--[if IE 7]><!--></a><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]-->

                                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                            </li>
                        </ul>

                        <div class="nav-divider">&nbsp;</div>

                        <ul class="select"><li><a href="#nogo"><b>Cadastrar</b><!--[if IE 7]><!--></a><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]-->
                                <div class="select_sub show">
                                    <ul class="sub">
                                        <li><a href="cadastrarArtista.jsp">Artista</a></li>
                                        <li><a href="cadastrarMusica.jsp">Música</a></li>
                                        <li><a href="cadastrarProdutora.jsp">Produtora</a></li>
                                        <li><a href="cadastroUsuario.jsp">Usuário</a></li>
                                    </ul>
                                </div>
                                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                            </li>
                        </ul>

                        <div class="nav-divider">&nbsp;</div>

                        <ul class="select"><li><a href="#nogo"><b>Gerenciar</b><!--[if IE 7]><!--></a><!--<![endif]-->
                                <!--[if lte IE 6]><table><tr><td><![endif]-->
                                <div class="select_sub">
                                    <ul class="sub">
                                        <li><a href="gerenciarAlbum.jsp">Album</a></li>
                                        <li><a href="gerenciarArtista.jsp">Artista</a></li>
                                        <li><a href="gerenciarCategoria.jsp">Categoria</a></li>
                                        <li><a href="gerenciarGenero.jsp">Gênero</a></li>
                                        <li><a href="gerenciarMusicas.jsp">Música</a></li>
                                        <li><a href="gerenciarNovidade.jsp">Novidades</a></li>
                                    </ul>
                                </div>
                                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                            </li>
                        </ul>

                        <div class="nav-divider">&nbsp;</div>





                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                </div>
                <!--  start nav -->

            </div>
            <div class="clear"></div>
            <!--  start nav-outer -->
        </div>
        <!--  start nav-outer-repeat................................................... END -->

        <div class="clear"></div>
        <!-- start content-outer -->
        <div id="content-outer">
            <!-- start content -->
            <div id="content">

        <form name="gerenciarGenero" action="ServletGenero" method="POST">
            <h1> Pesquisar Gênero</h1>
            <h5>pesquise um Gênero nas que ja foram cadastradas</h5>
            <br/>
            Buscar:<br/>
            <input type="text" name="buscar" value="" />
            <input type="submit" value="Pesquisar" name="pesquisar" />
            <br/>
            <br/>
            <br/>
            <h1> Cadastrar Gênero</h1>
            <h5><b>Obs:Todos os campos devem ser preenchidos</b></h5>
            <br/>
            <br/>
            Nome:<br/>
            <input type="text" name="nome" value=""  />
            <br/>
            <input type="submit" value="cadastrar" />
        </form>
        <%}%>
    </body>
</html>
